package com.bailian.spring.ioc.sacn_type_03;

import com.bailian.spring.ioc.sacn_type_03.config.TypeFilterConfiguration;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

import java.util.stream.Stream;

/**
 * @author gaoxu
 * date: Created on 2021/11/2 下午4:19
 */
public class TypeFilterApplication {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx =
                new AnnotationConfigApplicationContext(TypeFilterConfiguration.class);

        Stream.of(ctx.getBeanDefinitionNames()).forEach(System.out::println);
        System.out.println("--------------------------");
    }
}
